import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    audioPlay: "false",
    audioUrl: "0"
  },
  getters: {},
  mutations: {
    changeaudioPlay: (state, payload) => {
      state.audioPlay = payload;
    },
    changeaudioUrl: (state, payload) => {
      state.audioUrl = payload;
    }
  },
  actions: {},
  modules: {}
});
